package com.night.administration.mapper;

import com.night.common.entity.administration.Course;

import java.util.List;

/**
 * @ClassName: CourseMapper
 * @Description: //TODO
 * @author: LZJ
 * @date: 2022/10/19-16:12
 * @version: v1.0
 */
public interface CourseMapper {
    //增加课程
    void insert(Course course);

    //多条件查询课程
    List<Course> getByCondition(Course course);

    //通过id查询课程名
    Course getCourse(int coursesId);

    //修改课程
    void update(Course course);
}
